Summary of files:

ovid.pl
Generates a single report of platform share from a Ovi Publish report
Usage:  ovid.pl filename.tsv
Input:  filename.tsv
Output: to standard output

ovid.bat
Runs ovid.pl on all .tsv files and then generates a chart
Input:  *.tsv, ovid.plt
Usage:  ovid.bat
Output: to standard output and ovid.png

ovid.plt
Used by gnuplot in ovid.bat to generate the chart

ovid.data
Generated by ovid.pl, used to generate the chart

===

How to create a platform share chart

Step 1. Download the scripts from http://projects.forum.nokia.com/ovid

Step 2. The boring manual step. Paste the tab seperated devices list from Ovi Publish reports into .tsv files, one per month. For example 2011-03.tsv:
#1	 Nokia N8-00 	 11.2 % 
#2	 Nokia 5800 XpressMusic 	 10.2 % 
<snip>
#68	 Nokia N93 	 0.0 % 

Step 3. To generate a single report, call:
ovid.pl 2011-03.tsv
It outputs to standard output:
#1      11.2%   Symbian^3       Nokia N8-00
#2      10.2%   Symbian^1       Nokia 5800 XpressMusic
<snip>
#68     0.0%    S60 3.0         Nokia N93
=============================
4 Symbian^3 models:     16.3%
12 Symbian^1 models:    39%
51 S60 3rd edition:     44%
-----------------------------
25 S60 3.2 models:      18.5%
13 S60 3.1 models:      20.6%
13 S60 3.0 models:      4.9%
-----------------------------
1 unknown models:       0.3%
=============================
68 total models:        99.6%
=============================

Ignoring the unknown:
=============================
4 Symbian^3 models:     16.3%
12 Symbian^1 models:    39.1%
51 S60 3rd ed. models:  44%
-----------------------------
25 S60 3.2 models:      18.6%
13 S60 3.1 models:      20.7%
13 S60 3.0 models:      4.9%
=============================
67 total models:        99.6%
=============================

Step 4. To generate a chart for several months, download gnuplot from http://www.gnuplot.info/download.html and stick it in your PATH. (Tested with version 4.4.0.)

Step 5. Edit ovid.plt to set a title for your chart.

Step 6. Run ovid.bat. There's usually at least one unknown model: "Unresolved". If you get any more, the missing models need adding to the lists at the top of ovid.pl. Please let me know and I'll update the script as well.

If you use this, please post links to your charts too!
